package com.wangyadong.hobby.thread.lesson2withconcurrent;

import javax.servlet.http.HttpSession;
import java.util.Vector;

public class LoggingWidget extends Widget {

    @Override
    public synchronized void doSomething() {
        System.out.println("do something ");
        super.doSomething();
    }

    public static void main(String[] args) {
        System.out.println("do something ");


    }
}
